home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / asm / adisv1_3.lha / src / version.c < prev   
Encoding:
C/C++ Source or Header  |  1994-07-20  |  3.4 KB  |  99 lines

  1. /*
  2.  * Overall change history:
  3.  * $Log:    version.c,v $
  4.  * Revision 3.0  93/09/24  17:54:32  Martin_Apel
  5.  * New feature: Added extra 68040 FPU opcodes
  6.  * 
  7.  * Revision 2.7  93/07/28  23:37:47  Martin_Apel
  8.  * Bug fix: Enabled null-sized data hunks
  9.  * 
  10.  * Revision 2.6  93/07/18  22:57:03  Martin_Apel
  11.  * *** empty log message ***
  12.  * 
  13.  * Revision 2.5  93/07/13  11:41:53  Martin_Apel
  14.  * Bug fix: Abortion with CTRL-D now handled correctly
  15.  * 
  16.  * Revision 2.4  93/07/11  21:40:28  Martin_Apel
  17.  * Major mod.: Jump table support tested and changed
  18.  * Major mod.: Deleted -ce option
  19.  * 
  20.  * Revision 2.3  93/07/10  13:02:49  Martin_Apel
  21.  * Major mod.: Added full jump table support. Seems to work quite well.
  22.  * 
  23.  * Revision 2.2  93/07/08  22:29:48  Martin_Apel
  24.  * Bug fix: Fixed PFLUSH bug. Mode and mask bits were confused
  25.  * 
  26.  * Revision 2.1  93/07/08  20:51:53  Martin_Apel
  27.  * Fixed various bugs in first beta version
  28.  * 
  29.  * Revision 2.0  93/07/01  11:55:01  Martin_Apel
  30.  * *** empty log message ***
  31.  * 
  32.  * Revision 1.21  93/07/01  11:47:42  Martin_Apel
  33.  * Minor mods.: Bug fixes
  34.  * 
  35.  * Revision 1.20  93/06/19  19:02:39  Martin_Apel
  36.  * Bug fix: Upon non-FPU disassembly the first opcodes in the opcode table   
  37.  *          were marked illegal.
  38.  * 
  39.  * Revision 1.19  93/06/19  12:12:33  Martin_Apel
  40.  * Major mod.: Added full 68030/040 support
  41.  * 
  42.  * Revision 1.18  93/06/16  20:32:40  Martin_Apel
  43.  * Minor mod.: Added 68030 / 040 support. UNTESTED !!!
  44.  * Minor mod.: Added preliminary jump table support. UNTESTED !!!
  45.  * Bug fix in ref_table.c
  46.  * 
  47.  * Revision 1.17  93/06/06  13:49:34  Martin_Apel
  48.  * Minor mod.: Added preliminary support for jump tables recognition
  49.  * Minor mod.: Replaced first_pass and read_symbols by pass1, pass2, pass3
  50.  * 
  51.  * Revision 1.16  93/06/06  00:17:32  Martin_Apel
  52.  * Bug fix: Small change regarding recognition of jump tables 
  53.  * Bug fix: DC.B $80 was printed as DC.B -$7F
  54.  * Major mod.: Added support for library/device disassembly (option -dl)
  55.  * 
  56.  * Revision 1.15  93/06/04  11:54:04  Martin_Apel
  57.  * New feature: Added -ln option for generation of ascending label numbers
  58.  * 
  59.  * Revision 1.14  93/06/03  20:31:46  Martin_Apel
  60.  * Minor mod.: Additional linefeed generation for end instructions has been
  61.  *             moved to format_line
  62.  * New feature: Added -a switch to generate comments for file offsets
  63.  * 
  64.  * Revision 1.13  93/06/03  17:01:24  Martin_Apel
  65.  * Minor mod.: Remove temporary files upon exit (even with CTRL-C)
  66.  * 
  67.  * Revision 1.12  93/06/03  15:50:56  Martin_Apel
  68.  * Major mod.: Rewritten part of the hunk handling routines.
  69.  *             Overlay files are now handled correctly
  70.  * Minor mod.: Table size for symbol table is now derived from the size of
  71.  *             the load file instead of from the sum of the hunk sizes
  72.  * 
  73.  * Revision 1.11  93/05/27  20:51:30  Martin_Apel
  74.  * Bug fix: Register list was misinterpreted for MOVEM / FMOVEM
  75.  *          instructions.
  76.  * 
  77.  */
  78.  
  79. #include <exec/types.h>
  80. #include <string.h>
  81. #include "defs.h"
  82.  
  83. static char *rcsid = "$Id: version.c,v 3.0 93/09/24 17:54:32 Martin_Apel Exp $";
  84. static char *version = "1.";
  85. static char *revision = "$Revision: 3.0 $";
  86. static char *last_modified = "$Date: 93/09/24 17:54:32 $";
  87.  
  88. void print_version ()
  89.  
  90. {
  91. *(last_modified + strlen (last_modified) - 2) = 0;
  92. *(revision + 12) = 0;
  93. printf ("\nADis Version %s%s (%s)\n", version , revision + 11,
  94.          last_modified + 7);
  95. printf ("Copyright by Martin Apel\n");
  96. printf ("A Freely-Redistributable Program\n\n");
  97. }
  98.  
  99.